<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__sysclk__clk__peripheral__funcs.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__sysclk.html">SysClk       (System Clock)</a> &raquo; <a class="el" href="group__group__sysclk__clk__peripheral.html">Peripherals Clock Dividers</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7d0d4bfdaa3ca5b5f2f50b3d2cdc6d57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga7d0d4bfdaa3ca5b5f2f50b3d2cdc6d57">Cy_SysClk_PeriPclkSetDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum, uint32_t dividerValue)</td></tr>
<tr class="memdesc:ga7d0d4bfdaa3ca5b5f2f50b3d2cdc6d57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets one of the programmable clock dividers.  <a href="#ga7d0d4bfdaa3ca5b5f2f50b3d2cdc6d57">More...</a><br /></td></tr>
<tr class="separator:ga7d0d4bfdaa3ca5b5f2f50b3d2cdc6d57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga891fd3c882b4276ed1412731a5542721"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga891fd3c882b4276ed1412731a5542721">Cy_SysClk_PeriPclkGetDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga891fd3c882b4276ed1412731a5542721"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the integer divider value for the specified divider.  <a href="#ga891fd3c882b4276ed1412731a5542721">More...</a><br /></td></tr>
<tr class="separator:ga891fd3c882b4276ed1412731a5542721"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada9cb5c5049e014aff4808dfae19d28b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#gada9cb5c5049e014aff4808dfae19d28b">Cy_SysClk_PeriPclkGetFracDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum, uint32_t *dividerIntValue, uint32_t *dividerFracValue)</td></tr>
<tr class="memdesc:gada9cb5c5049e014aff4808dfae19d28b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the integer and fractional parts of the divider.  <a href="#gada9cb5c5049e014aff4808dfae19d28b">More...</a><br /></td></tr>
<tr class="separator:gada9cb5c5049e014aff4808dfae19d28b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3235f5f13e451e840a75e1b214a24364"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga3235f5f13e451e840a75e1b214a24364">Cy_SysClk_PeriPclkSetFracDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum, uint32_t dividerIntValue, uint32_t dividerFracValue)</td></tr>
<tr class="memdesc:ga3235f5f13e451e840a75e1b214a24364"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets one of the programmable clock dividers.  <a href="#ga3235f5f13e451e840a75e1b214a24364">More...</a><br /></td></tr>
<tr class="separator:ga3235f5f13e451e840a75e1b214a24364"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6a3ce8a343596ae935a58106f5fc140"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#gab6a3ce8a343596ae935a58106f5fc140">Cy_SysClk_PeriPclkAssignDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:gab6a3ce8a343596ae935a58106f5fc140"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assigns a programmable divider to a selected IP block, such as a TCPWM or SCB.  <a href="#gab6a3ce8a343596ae935a58106f5fc140">More...</a><br /></td></tr>
<tr class="separator:gab6a3ce8a343596ae935a58106f5fc140"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a973dd1d0124c8effcf9eccf013630a"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga6a973dd1d0124c8effcf9eccf013630a">Cy_SysClk_PeriPclkGetAssignedDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock)</td></tr>
<tr class="memdesc:ga6a973dd1d0124c8effcf9eccf013630a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports which clock divider is assigned to a selected IP block.  <a href="#ga6a973dd1d0124c8effcf9eccf013630a">More...</a><br /></td></tr>
<tr class="separator:ga6a973dd1d0124c8effcf9eccf013630a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga08779cba8c9adaf762b7680cff43d547"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga08779cba8c9adaf762b7680cff43d547">Cy_SysClk_PeriPclkEnableDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga08779cba8c9adaf762b7680cff43d547"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the selected divider.  <a href="#ga08779cba8c9adaf762b7680cff43d547">More...</a><br /></td></tr>
<tr class="separator:ga08779cba8c9adaf762b7680cff43d547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8754ff2f756d0d82af230600139a2442"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga8754ff2f756d0d82af230600139a2442">Cy_SysClk_PeriPclkDisableDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga8754ff2f756d0d82af230600139a2442"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables a selected divider.  <a href="#ga8754ff2f756d0d82af230600139a2442">More...</a><br /></td></tr>
<tr class="separator:ga8754ff2f756d0d82af230600139a2442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50758b7bfdb523a3da93858a29ea792c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga50758b7bfdb523a3da93858a29ea792c">Cy_SysClk_PeriPclkEnablePhaseAlignDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerTypePA, uint32_t dividerNumPA)</td></tr>
<tr class="memdesc:ga50758b7bfdb523a3da93858a29ea792c"><td class="mdescLeft">&#160;</td><td class="mdescRight">First disables a selected divider (<a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a>), then aligns that divider to another programmable divider, and enables the selected divider.  <a href="#ga50758b7bfdb523a3da93858a29ea792c">More...</a><br /></td></tr>
<tr class="separator:ga50758b7bfdb523a3da93858a29ea792c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf121b7b35d0c907e84289c2f7b0106bf"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#gaf121b7b35d0c907e84289c2f7b0106bf">Cy_SysClk_PeriPclkGetFrequency</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:gaf121b7b35d0c907e84289c2f7b0106bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the frequency of the output of a given peripheral divider.  <a href="#gaf121b7b35d0c907e84289c2f7b0106bf">More...</a><br /></td></tr>
<tr class="separator:gaf121b7b35d0c907e84289c2f7b0106bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga849645f956b39e9a1fc81822db691641"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga849645f956b39e9a1fc81822db691641">Cy_SysClk_PeriPclkGetDividerEnabled</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga849645f956b39e9a1fc81822db691641"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the enabled/disabled state of the selected divider.  <a href="#ga849645f956b39e9a1fc81822db691641">More...</a><br /></td></tr>
<tr class="separator:ga849645f956b39e9a1fc81822db691641"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad2f14fb681ab88c7474c39c2d31f7fc8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#gad2f14fb681ab88c7474c39c2d31f7fc8">Cy_Sysclk_PeriPclkGetClkHfNum</a> (uint32_t ipBlock)</td></tr>
<tr class="memdesc:gad2f14fb681ab88c7474c39c2d31f7fc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the corresponding CLK_HF* number for a particular PERI PCLK group.  <a href="#gad2f14fb681ab88c7474c39c2d31f7fc8">More...</a><br /></td></tr>
<tr class="separator:gad2f14fb681ab88c7474c39c2d31f7fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7042898b1b6835673182e462be6976e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum, uint32_t dividerValue)</td></tr>
<tr class="memdesc:gae7042898b1b6835673182e462be6976e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets one of the programmable clock dividers.  <a href="#gae7042898b1b6835673182e462be6976e">More...</a><br /></td></tr>
<tr class="separator:gae7042898b1b6835673182e462be6976e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10cda937803fb9619e9adeb593d0861c"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga10cda937803fb9619e9adeb593d0861c">Cy_SysClk_PeriphGetDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga10cda937803fb9619e9adeb593d0861c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the integer divider value for the specified divider.  <a href="#ga10cda937803fb9619e9adeb593d0861c">More...</a><br /></td></tr>
<tr class="separator:ga10cda937803fb9619e9adeb593d0861c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4fc180f26dff14638b9df6e6f720609c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga4fc180f26dff14638b9df6e6f720609c">Cy_SysClk_PeriphSetFracDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum, uint32_t dividerIntValue, uint32_t dividerFracValue)</td></tr>
<tr class="memdesc:ga4fc180f26dff14638b9df6e6f720609c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets one of the programmable clock dividers.  <a href="#ga4fc180f26dff14638b9df6e6f720609c">More...</a><br /></td></tr>
<tr class="separator:ga4fc180f26dff14638b9df6e6f720609c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga016c43d8786f53356cc15d391950b47c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga016c43d8786f53356cc15d391950b47c">Cy_SysClk_PeriphGetFracDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum, uint32_t *dividerIntValue, uint32_t *dividerFracValue)</td></tr>
<tr class="memdesc:ga016c43d8786f53356cc15d391950b47c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the integer and fractional parts of the divider.  <a href="#ga016c43d8786f53356cc15d391950b47c">More...</a><br /></td></tr>
<tr class="separator:ga016c43d8786f53356cc15d391950b47c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f480c53ecec720ceed823b2692f1698"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2f480c53ecec720ceed823b2692f1698">Cy_SysClk_PeriphAssignDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga2f480c53ecec720ceed823b2692f1698"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assigns a programmable divider to a selected IP block, such as a TCPWM or SCB.  <a href="#ga2f480c53ecec720ceed823b2692f1698">More...</a><br /></td></tr>
<tr class="separator:ga2f480c53ecec720ceed823b2692f1698"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29a8817451be10a39ff8fc2df1a9d604"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga29a8817451be10a39ff8fc2df1a9d604">Cy_SysClk_PeriphGetAssignedDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a> ipBlock)</td></tr>
<tr class="memdesc:ga29a8817451be10a39ff8fc2df1a9d604"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports which clock divider is assigned to a selected IP block.  <a href="#ga29a8817451be10a39ff8fc2df1a9d604">More...</a><br /></td></tr>
<tr class="separator:ga29a8817451be10a39ff8fc2df1a9d604"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0725e2b222edc601b7d3f56d86d4ff75"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga0725e2b222edc601b7d3f56d86d4ff75">Cy_SysClk_PeriphEnableDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga0725e2b222edc601b7d3f56d86d4ff75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the selected divider.  <a href="#ga0725e2b222edc601b7d3f56d86d4ff75">More...</a><br /></td></tr>
<tr class="separator:ga0725e2b222edc601b7d3f56d86d4ff75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bfc8de7ad90c50e0202827e0d067c7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga2bfc8de7ad90c50e0202827e0d067c7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables a selected divider.  <a href="#ga2bfc8de7ad90c50e0202827e0d067c7a">More...</a><br /></td></tr>
<tr class="separator:ga2bfc8de7ad90c50e0202827e0d067c7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d5e0e11b4bc0aa033fbc69c1f50fa6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga7d5e0e11b4bc0aa033fbc69c1f50fa6a">Cy_SysClk_PeriphEnablePhaseAlignDivider</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum, <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerTypePA, uint32_t dividerNumPA)</td></tr>
<tr class="memdesc:ga7d5e0e11b4bc0aa033fbc69c1f50fa6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">First disables a selected divider (<a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a>), then aligns that divider to another programmable divider, and enables the selected divider.  <a href="#ga7d5e0e11b4bc0aa033fbc69c1f50fa6a">More...</a><br /></td></tr>
<tr class="separator:ga7d5e0e11b4bc0aa033fbc69c1f50fa6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bc9db83d6406ce5baf30e8e4e599205"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bc9db83d6406ce5baf30e8e4e599205">Cy_SysClk_PeriphGetDividerEnabled</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga2bc9db83d6406ce5baf30e8e4e599205"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the enabled/disabled state of the selected divider.  <a href="#ga2bc9db83d6406ce5baf30e8e4e599205">More...</a><br /></td></tr>
<tr class="separator:ga2bc9db83d6406ce5baf30e8e4e599205"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga366428a7c17da00f7a7ae025aeda2e23"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga366428a7c17da00f7a7ae025aeda2e23">Cy_SysClk_PeriphGetFrequency</a> (<a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> dividerType, uint32_t dividerNum)</td></tr>
<tr class="memdesc:ga366428a7c17da00f7a7ae025aeda2e23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the frequency of the output of a given peripheral divider.  <a href="#ga366428a7c17da00f7a7ae025aeda2e23">More...</a><br /></td></tr>
<tr class="separator:ga366428a7c17da00f7a7ae025aeda2e23"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga7d0d4bfdaa3ca5b5f2f50b3d2cdc6d57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7d0d4bfdaa3ca5b5f2f50b3d2cdc6d57">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkSetDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriPclkSetDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets one of the programmable clock dividers. </p>
<p>This is only used for integer dividers. Use <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga4fc180f26dff14638b9df6e6f720609c">Cy_SysClk_PeriphSetFracDivider</a> for setting factional dividers.</p>
<dl class="section pre"><dt>Precondition</dt><dd>If the specified clock divider is already enabled - it should be disabled prior to use this function by <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a>.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>the divider number.</td></tr>
    <tr><td class="paramname">dividerValue</td><td>divider value Causes integer division of (divider value + 1), or division by 1 to 256 (8-bit divider) or 1 to 65536 (16-bit divider).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="ga891fd3c882b4276ed1412731a5542721"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga891fd3c882b4276ed1412731a5542721">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkGetDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_SysClk_PeriPclkGetDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the integer divider value for the specified divider. </p>
<p>One works for integer dividers. Use <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga016c43d8786f53356cc15d391950b47c">Cy_SysClk_PeriphGetFracDivider</a> to get the fractional divider value</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The divider value. The integer division done is by (divider value + 1), or division by 1 to 256 (8-bit divider) or 1 to 65536 (16-bit divider).</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="gada9cb5c5049e014aff4808dfae19d28b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada9cb5c5049e014aff4808dfae19d28b">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkGetFracDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_SysClk_PeriPclkGetFracDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>dividerIntValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>dividerFracValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports the integer and fractional parts of the divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
    <tr><td class="paramname">*dividerIntValue</td><td>pointer to return integer divider value</td></tr>
    <tr><td class="paramname">*dividerFracValue</td><td>pointer to return fractional divider value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. Loads pointed-to variables.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="ga3235f5f13e451e840a75e1b214a24364"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3235f5f13e451e840a75e1b214a24364">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkSetFracDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriPclkSetFracDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerIntValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerFracValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets one of the programmable clock dividers. </p>
<p>This function should only be used for fractional clock dividers.</p>
<dl class="section pre"><dt>Precondition</dt><dd>If the specified clock divider is already enabled - it should be disabled prior to use this function by <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a>.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
    <tr><td class="paramname">dividerIntValue</td><td>the integer divider value The source of the divider is peri_clk, which is a divided version of hf_clk[0]. The divider value causes integer division of (divider value + 1), or division by 1 to 65536 (16-bit divider) or 1 to 16777216 (24-bit divider).</td></tr>
    <tr><td class="paramname">dividerFracValue</td><td>the fraction part of the divider The fractional divider can be 0-31, thus it divides the clock by 1/32 for each count. To divide the clock by 11/32nds set this value to 11.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="gab6a3ce8a343596ae935a58106f5fc140"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab6a3ce8a343596ae935a58106f5fc140">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkAssignDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriPclkAssignDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assigns a programmable divider to a selected IP block, such as a TCPWM or SCB. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="ga6a973dd1d0124c8effcf9eccf013630a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6a973dd1d0124c8effcf9eccf013630a">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkGetAssignedDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_SysClk_PeriPclkGetAssignedDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports which clock divider is assigned to a selected IP block. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The divider type and number</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="ga08779cba8c9adaf762b7680cff43d547"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga08779cba8c9adaf762b7680cff43d547">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkEnableDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriPclkEnableDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the selected divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This function also sets the phase alignment bits such that the enabled divider is aligned to clk_peri. See <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider()</a> for information on how to phase-align a divider after it is enabled.</dd>
<dd>
This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="ga8754ff2f756d0d82af230600139a2442"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8754ff2f756d0d82af230600139a2442">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkDisableDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriPclkDisableDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables a selected divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>.</td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="ga50758b7bfdb523a3da93858a29ea792c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga50758b7bfdb523a3da93858a29ea792c">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkEnablePhaseAlignDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriPclkEnablePhaseAlignDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerTypePA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNumPA</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>First disables a selected divider (<a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a>), then aligns that divider to another programmable divider, and enables the selected divider. </p>
<p>The divider to align to must already be enabled in order to align a divider to it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>.</td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure.</td></tr>
    <tr><td class="paramname">dividerTypePA</td><td>type of divider to phase-align to; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>.</td></tr>
    <tr><td class="paramname">dividerNumPA</td><td>divider number of type specified to phase align to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>To phase-align a divider to clk_peri, set dividerTypePA to 3 and dividerNumPA to 63.</dd>
<dd>
This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="gaf121b7b35d0c907e84289c2f7b0106bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf121b7b35d0c907e84289c2f7b0106bf">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkGetFrequency()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_SysClk_PeriPclkGetFrequency </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports the frequency of the output of a given peripheral divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The frequency, in Hz.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The reported frequency may be zero, which indicates unknown. This happens if the source input is dsi_out or clk_altlf.</dd>
<dd>
This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: SCB0 needs to be clocked at PeriClk/3. Need to confirm that the</span></div><div class="line"><span class="comment">                 set frequency on the chosen peripheral divider is correct.</span></div><div class="line"><span class="comment">                 HFCLK0 and the clocks leading up it are configured. */</span></div><div class="line"></div><div class="line">    <span class="comment">/* Set the Peri clock divider to 2 (1 + 1) */</span></div><div class="line">    <a class="code" href="group__group__sysclk__clk__peri__funcs.html#ga872a11532b18a5438e9bea423fc4076f">Cy_SysClk_ClkPeriSetDivider</a>(1U);</div><div class="line"></div><div class="line">    <span class="comment">/* Assign 8-bit divider #0 to source SCB0 clock */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga2f480c53ecec720ceed823b2692f1698">Cy_SysClk_PeriphAssignDivider</a>(PCLK_SCB0_CLOCK, <a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 0UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Set the 8-bit divider #0 value to 3 (2 + 1) */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 0UL, 2UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Enable the 8-bit divider #0 */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga0725e2b222edc601b7d3f56d86d4ff75">Cy_SysClk_PeriphEnableDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 0UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Calculate the frequency seen at the output of 8-bit divider #0 */</span></div><div class="line">    uint32_t scbFreq = <a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga366428a7c17da00f7a7ae025aeda2e23">Cy_SysClk_PeriphGetFrequency</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 0UL);</div><div class="line"></div><div class="line">    <span class="keywordflow">if</span>(scbFreq == 0UL)</div><div class="line">    {</div><div class="line">        <span class="comment">/* Could not calculate the frequency. Check that the clock source</span></div><div class="line"><span class="comment">           is correct and/or verify by enabling the SCB0. */</span></div><div class="line">    }</div><div class="line">    <span class="keywordflow">else</span></div><div class="line">    {</div><div class="line">        <span class="comment">/* Check that the frequency is as expected. */</span></div><div class="line">    }</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga849645f956b39e9a1fc81822db691641"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga849645f956b39e9a1fc81822db691641">&#9670;&nbsp;</a></span>Cy_SysClk_PeriPclkGetDividerEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Cy_SysClk_PeriPclkGetDividerEnabled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports the enabled/disabled state of the selected divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>.</td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="gad2f14fb681ab88c7474c39c2d31f7fc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad2f14fb681ab88c7474c39c2d31f7fc8">&#9670;&nbsp;</a></span>Cy_Sysclk_PeriPclkGetClkHfNum()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_Sysclk_PeriPclkGetClkHfNum </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ipBlock</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports the corresponding CLK_HF* number for a particular PERI PCLK group. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The CLK_HF* number.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is available for CAT1A (TVIIBE only), CAT1B, CAT1C and CAT1D devices. </dd></dl>

</div>
</div>
<a id="gae7042898b1b6835673182e462be6976e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae7042898b1b6835673182e462be6976e">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphSetDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriphSetDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets one of the programmable clock dividers. </p>
<p>This is only used for integer dividers. Use <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga4fc180f26dff14638b9df6e6f720609c">Cy_SysClk_PeriphSetFracDivider</a> for setting factional dividers.</p>
<dl class="section pre"><dt>Precondition</dt><dd>If the specified clock divider is already enabled - it should be disabled prior to use this function by <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a>.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>the divider number.</td></tr>
    <tr><td class="paramname">dividerValue</td><td>divider value Causes integer division of (divider value + 1), or division by 1 to 256 (8-bit divider) or 1 to 65536 (16-bit divider).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkSetDivider.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: 16-bit peripheral divider #2 needs to be incremented by 1. */</span></div><div class="line"></div><div class="line">    uint32_t periDiv = <a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga10cda937803fb9619e9adeb593d0861c">Cy_SysClk_PeriphGetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 2UL);</div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 2UL, periDiv + 1UL);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga10cda937803fb9619e9adeb593d0861c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga10cda937803fb9619e9adeb593d0861c">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphGetDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_SysClk_PeriphGetDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the integer divider value for the specified divider. </p>
<p>One works for integer dividers. Use <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga016c43d8786f53356cc15d391950b47c">Cy_SysClk_PeriphGetFracDivider</a> to get the fractional divider value</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The divider value. The integer division done is by (divider value + 1), or division by 1 to 256 (8-bit divider) or 1 to 65536 (16-bit divider).</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkGetDivider.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: 16-bit peripheral divider #2 needs to be incremented by 1. */</span></div><div class="line"></div><div class="line">    uint32_t periDiv = <a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga10cda937803fb9619e9adeb593d0861c">Cy_SysClk_PeriphGetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 2UL);</div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 2UL, periDiv + 1UL);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga4fc180f26dff14638b9df6e6f720609c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4fc180f26dff14638b9df6e6f720609c">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphSetFracDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriphSetFracDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerIntValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerFracValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets one of the programmable clock dividers. </p>
<p>This function should only be used for fractional clock dividers.</p>
<dl class="section pre"><dt>Precondition</dt><dd>If the specified clock divider is already enabled - it should be disabled prior to use this function by <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a>.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
    <tr><td class="paramname">dividerIntValue</td><td>the integer divider value The source of the divider is peri_clk, which is a divided version of hf_clk[0]. The divider value causes integer division of (divider value + 1), or division by 1 to 65536 (16-bit divider) or 1 to 16777216 (24-bit divider).</td></tr>
    <tr><td class="paramname">dividerFracValue</td><td>the fraction part of the divider The fractional divider can be 0-31, thus it divides the clock by 1/32 for each count. To divide the clock by 11/32nds set this value to 11.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkSetFracDivider.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: 16-bit fractional peripheral divider #0 needs to increment its</span></div><div class="line"><span class="comment">                 fractional value by 2. */</span></div><div class="line"></div><div class="line">    uint32_t divIntVal, divFracVal;</div><div class="line"></div><div class="line">    <a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga016c43d8786f53356cc15d391950b47c">Cy_SysClk_PeriphGetFracDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a4fdbf879741f86ed8b2a600727604763">CY_SYSCLK_DIV_16_5_BIT</a>, 0UL, &amp;divIntVal, &amp;divFracVal);</div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga4fc180f26dff14638b9df6e6f720609c">Cy_SysClk_PeriphSetFracDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a4fdbf879741f86ed8b2a600727604763">CY_SYSCLK_DIV_16_5_BIT</a>, 0UL, divIntVal, divFracVal + 2UL);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga016c43d8786f53356cc15d391950b47c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga016c43d8786f53356cc15d391950b47c">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphGetFracDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_SysClk_PeriphGetFracDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>dividerIntValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>dividerFracValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports the integer and fractional parts of the divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
    <tr><td class="paramname">*dividerIntValue</td><td>pointer to return integer divider value</td></tr>
    <tr><td class="paramname">*dividerFracValue</td><td>pointer to return fractional divider value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. Loads pointed-to variables.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkGetFracDivider.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: 16-bit fractional peripheral divider #0 needs to increment its</span></div><div class="line"><span class="comment">                 fractional value by 2. */</span></div><div class="line"></div><div class="line">    uint32_t divIntVal, divFracVal;</div><div class="line"></div><div class="line">    <a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga016c43d8786f53356cc15d391950b47c">Cy_SysClk_PeriphGetFracDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a4fdbf879741f86ed8b2a600727604763">CY_SYSCLK_DIV_16_5_BIT</a>, 0UL, &amp;divIntVal, &amp;divFracVal);</div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga4fc180f26dff14638b9df6e6f720609c">Cy_SysClk_PeriphSetFracDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a4fdbf879741f86ed8b2a600727604763">CY_SYSCLK_DIV_16_5_BIT</a>, 0UL, divIntVal, divFracVal + 2UL);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga2f480c53ecec720ceed823b2692f1698"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f480c53ecec720ceed823b2692f1698">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphAssignDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriphAssignDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assigns a programmable divider to a selected IP block, such as a TCPWM or SCB. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkAssignDivider.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: The source of TCPWM0 CNT0 clock needs to be known. If this</span></div><div class="line"><span class="comment">                 source is not 16-bit divider #3, update it to be sourced from</span></div><div class="line"><span class="comment">                 that clock divider and set the divider value to 2000. */</span></div><div class="line"></div><div class="line">    uint32_t currDiv    = <a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga29a8817451be10a39ff8fc2df1a9d604">Cy_SysClk_PeriphGetAssignedDivider</a>(PCLK_TCPWM0_CLOCKS0);</div><div class="line">    uint32_t newDiv     = _VAL2FLD(PERI_DIV_CMD_TYPE_SEL, <a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>)</div><div class="line">                            | _VAL2FLD(PERI_DIV_CMD_DIV_SEL, 3UL);</div><div class="line">    <span class="keywordflow">if</span>(currDiv != newDiv)</div><div class="line">    {</div><div class="line">        <span class="comment">/* Assign 16-bit divider #3 to source TCPWM0 CNT0 clock */</span></div><div class="line">        (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga2f480c53ecec720ceed823b2692f1698">Cy_SysClk_PeriphAssignDivider</a>(PCLK_TCPWM0_CLOCKS0, <a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 3UL);</div><div class="line">    }</div><div class="line"></div><div class="line">    <span class="comment">/* Set the 16-bit divider #3 value to 2000 (1999 + 1) */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 3UL, 1999UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Enable the 16-bit divider #3 */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga0725e2b222edc601b7d3f56d86d4ff75">Cy_SysClk_PeriphEnableDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 3UL);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga29a8817451be10a39ff8fc2df1a9d604"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga29a8817451be10a39ff8fc2df1a9d604">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphGetAssignedDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_SysClk_PeriphGetAssignedDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga9aa4619e36f4b0314e9b882f4ff2b6df">en_clk_dst_t</a>&#160;</td>
          <td class="paramname"><em>ipBlock</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports which clock divider is assigned to a selected IP block. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipBlock</td><td>specifies ip block to connect the clock divider to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The divider type and number</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkGetAssignedDivider.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: The source of TCPWM0 CNT0 clock needs to be known. If this</span></div><div class="line"><span class="comment">                 source is not 16-bit divider #3, update it to be sourced from</span></div><div class="line"><span class="comment">                 that clock divider and set the divider value to 2000. */</span></div><div class="line"></div><div class="line">    uint32_t currDiv    = <a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga29a8817451be10a39ff8fc2df1a9d604">Cy_SysClk_PeriphGetAssignedDivider</a>(PCLK_TCPWM0_CLOCKS0);</div><div class="line">    uint32_t newDiv     = _VAL2FLD(PERI_DIV_CMD_TYPE_SEL, <a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>)</div><div class="line">                            | _VAL2FLD(PERI_DIV_CMD_DIV_SEL, 3UL);</div><div class="line">    <span class="keywordflow">if</span>(currDiv != newDiv)</div><div class="line">    {</div><div class="line">        <span class="comment">/* Assign 16-bit divider #3 to source TCPWM0 CNT0 clock */</span></div><div class="line">        (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga2f480c53ecec720ceed823b2692f1698">Cy_SysClk_PeriphAssignDivider</a>(PCLK_TCPWM0_CLOCKS0, <a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 3UL);</div><div class="line">    }</div><div class="line"></div><div class="line">    <span class="comment">/* Set the 16-bit divider #3 value to 2000 (1999 + 1) */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 3UL, 1999UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Enable the 16-bit divider #3 */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga0725e2b222edc601b7d3f56d86d4ff75">Cy_SysClk_PeriphEnableDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 3UL);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga0725e2b222edc601b7d3f56d86d4ff75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0725e2b222edc601b7d3f56d86d4ff75">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphEnableDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriphEnableDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the selected divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This function also sets the phase alignment bits such that the enabled divider is aligned to clk_peri. See <a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider()</a> for information on how to phase-align a divider after it is enabled.</dd>
<dd>
This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkEnableDivider.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: TCPWM0 CNT0 clock needs to be sourced from 8-bit divider #1 with</span></div><div class="line"><span class="comment">                 a value of 140. This clock must be aligned to Peri clock. */</span></div><div class="line"></div><div class="line">    <span class="comment">/* Assign 8-bit divider #1 to source TCPWM0 CNT0 clock */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga2f480c53ecec720ceed823b2692f1698">Cy_SysClk_PeriphAssignDivider</a>(PCLK_TCPWM0_CLOCKS0, <a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 1UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Set the 8-bit divider #1 value to 140 (139 + 1) */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 1UL, 139UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Enable the 8-bit divider #1 */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga0725e2b222edc601b7d3f56d86d4ff75">Cy_SysClk_PeriphEnableDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 1UL);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga2bfc8de7ad90c50e0202827e0d067c7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2bfc8de7ad90c50e0202827e0d067c7a">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphDisableDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriphDisableDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables a selected divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>.</td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkDisableDivider.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: 8-bit divider #1 is no longer needed and can be disabled. */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 1UL);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga7d5e0e11b4bc0aa033fbc69c1f50fa6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7d5e0e11b4bc0aa033fbc69c1f50fa6a">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphEnablePhaseAlignDivider()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__returns.html#gad6699a184e2e3c01433251b0981558f3">cy_en_sysclk_status_t</a> Cy_SysClk_PeriphEnablePhaseAlignDivider </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerTypePA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNumPA</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>First disables a selected divider (<a class="el" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bfc8de7ad90c50e0202827e0d067c7a">Cy_SysClk_PeriphDisableDivider</a>), then aligns that divider to another programmable divider, and enables the selected divider. </p>
<p>The divider to align to must already be enabled in order to align a divider to it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>.</td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure.</td></tr>
    <tr><td class="paramname">dividerTypePA</td><td>type of divider to phase-align to; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>.</td></tr>
    <tr><td class="paramname">dividerNumPA</td><td>divider number of type specified to phase align to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>To phase-align a divider to clk_peri, set dividerTypePA to 3 and dividerNumPA to 63.</dd>
<dd>
This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkEnablePhaseAlignDivider.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: 8-bit divider #1 needs to be aligned to 16-bit divider #0. */</span></div><div class="line"></div><div class="line">    <span class="comment">/* Set the 8-bit divider #1 value to 125 (124 + 1) */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 1UL, 124UL);</div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga0725e2b222edc601b7d3f56d86d4ff75">Cy_SysClk_PeriphEnableDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 1UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Set the 16-bit divider #0 value to 2000 (1999 + 1) */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 0UL, 1999UL);</div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga0725e2b222edc601b7d3f56d86d4ff75">Cy_SysClk_PeriphEnableDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 0UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Align the 8-bit divider #1 to the 16-bit divider #0 */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga7d5e0e11b4bc0aa033fbc69c1f50fa6a">Cy_SysClk_PeriphEnablePhaseAlignDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 1UL, <a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 0UL);</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga2bc9db83d6406ce5baf30e8e4e599205"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2bc9db83d6406ce5baf30e8e4e599205">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphGetDividerEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Cy_SysClk_PeriphGetDividerEnabled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports the enabled/disabled state of the selected divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>.</td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The enabled/disabled state; <br />
false = disabled <br />
true = enabled</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkGetDividerEnabled.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: Check if the 16-bit divider #0 is enabled. If it is not, then</span></div><div class="line"><span class="comment">                 enable the divider. */</span></div><div class="line"></div><div class="line">    <span class="keywordflow">if</span>(<span class="keyword">true</span> == <a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga2bc9db83d6406ce5baf30e8e4e599205">Cy_SysClk_PeriphGetDividerEnabled</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 0UL))</div><div class="line">    {</div><div class="line">        (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga0725e2b222edc601b7d3f56d86d4ff75">Cy_SysClk_PeriphEnableDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8a01bdb4658df44cefca91d4d86ffb2a53">CY_SYSCLK_DIV_16_BIT</a>, 0UL);</div><div class="line">    }</div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga366428a7c17da00f7a7ae025aeda2e23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga366428a7c17da00f7a7ae025aeda2e23">&#9670;&nbsp;</a></span>Cy_SysClk_PeriphGetFrequency()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_SysClk_PeriphGetFrequency </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td>
          <td class="paramname"><em>dividerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dividerNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reports the frequency of the output of a given peripheral divider. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dividerType</td><td>specifies which type of divider to use; <a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a></td></tr>
    <tr><td class="paramname">dividerNum</td><td>specifies which divider of the selected type to configure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The frequency, in Hz.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The reported frequency may be zero, which indicates unknown. This happens if the source input is dsi_out or clk_altlf.</dd>
<dd>
This API is deprecated for CAT1B, CAT1C and CAT1D devices, use Cy_SysClk_PeriPclkGetFrequency.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    <span class="comment">/* Scenario: SCB0 needs to be clocked at PeriClk/3. Need to confirm that the</span></div><div class="line"><span class="comment">                 set frequency on the chosen peripheral divider is correct.</span></div><div class="line"><span class="comment">                 HFCLK0 and the clocks leading up it are configured. */</span></div><div class="line"></div><div class="line">    <span class="comment">/* Set the Peri clock divider to 2 (1 + 1) */</span></div><div class="line">    <a class="code" href="group__group__sysclk__clk__peri__funcs.html#ga872a11532b18a5438e9bea423fc4076f">Cy_SysClk_ClkPeriSetDivider</a>(1U);</div><div class="line"></div><div class="line">    <span class="comment">/* Assign 8-bit divider #0 to source SCB0 clock */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga2f480c53ecec720ceed823b2692f1698">Cy_SysClk_PeriphAssignDivider</a>(PCLK_SCB0_CLOCK, <a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 0UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Set the 8-bit divider #0 value to 3 (2 + 1) */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#gae7042898b1b6835673182e462be6976e">Cy_SysClk_PeriphSetDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 0UL, 2UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Enable the 8-bit divider #0 */</span></div><div class="line">    (void)<a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga0725e2b222edc601b7d3f56d86d4ff75">Cy_SysClk_PeriphEnableDivider</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 0UL);</div><div class="line"></div><div class="line">    <span class="comment">/* Calculate the frequency seen at the output of 8-bit divider #0 */</span></div><div class="line">    uint32_t scbFreq = <a class="code" href="group__group__sysclk__clk__peripheral__funcs.html#ga366428a7c17da00f7a7ae025aeda2e23">Cy_SysClk_PeriphGetFrequency</a>(<a class="code" href="group__group__sysclk__clk__peripheral__enums.html#gga06138349be16d91fd5d00ded2f4592b8ad2299deae6e36a070de5a60368b319ad">CY_SYSCLK_DIV_8_BIT</a>, 0UL);</div><div class="line"></div><div class="line">    <span class="keywordflow">if</span>(scbFreq == 0UL)</div><div class="line">    {</div><div class="line">        <span class="comment">/* Could not calculate the frequency. Check that the clock source</span></div><div class="line"><span class="comment">           is correct and/or verify by enabling the SCB0. */</span></div><div class="line">    }</div><div class="line">    <span class="keywordflow">else</span></div><div class="line">    {</div><div class="line">        <span class="comment">/* Check that the frequency is as expected. */</span></div><div class="line">    }</div></div><!-- fragment --></dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
